<?php
namespace App\DataFixtures\Providers\Modules;

use App\Entity\Modules\ModuleData as ModuleDataEntity;
use App\Services\Module\ModulesService;

class ModuleData
{

    const KEY_RECORD_IDENTIFIER = "RECORD_IDENTIFIER";
    const KEY_RECORD_TYPE       = "RECORD_TYPE";
    const KEY_MODULE            = "MODULE";
    const KEY_DESCRIPTION       = "DESCRIPTION";

    const ALL_ENTRIES = [
        # Files
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/files/',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_FILES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><span style="font-family: terminal, monaco, monospace; text-align: left;" data-mce-style="text-align: left" class="left">Personal documents - need to be sorted out at some point</span></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/files/Documents',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_FILES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><span style="font-family: terminal, monaco, monospace; text-align: left;" data-mce-style="text-align: left" class="left"><span style="color: rgb(230, 126, 35); text-align: left;" data-mce-style="color: #e67e23; text-align: left;" class="left">Contracts</span> / <span style="color: rgb(224, 62, 45); text-align: left;" data-mce-style="color: #e03e2d; text-align: left;" class="left">warranties</span> / <span style="color: rgb(132, 63, 161); text-align: left;" data-mce-style="color: #843fa1; text-align: left;" class="left">Insurances</span></span></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/files/Documents/Manuals',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_FILES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><span style="font-family: terminal, monaco, monospace; text-align: left;" data-mce-style="text-align: left" class="left">B a c k u p s&nbsp; &nbsp; o f&nbsp; &nbsp; m o s t&nbsp; &nbsp; i m p o r t a n t&nbsp; &nbsp; m a n u a l s</span></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/files/Documents/Templates',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_FILES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><span style="color: rgb(22, 145, 121); text-align: left;" data-mce-style="color: #169179; text-align: left;" class="left"><font color="#e67e23" face="terminal, monaco, monospace" class="left" data-mce-style="text-align: left" style="text-align: left;"><span style="color: rgb(22, 145, 121); text-align: left;" data-mce-style="text-align: left" class="left"><span style="text-align: left;" data-mce-style="text-align: left;" class="left">The </span>most common - often used documents templates</span></font></span></div>
            ',
        ],

        # Videos
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/videos/',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_VIDEO,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <h5 class="left" style="text-align: center;" data-mce-style="text-align: center;"><em class="left" data-mce-style="text-align: left" style="text-align: left;"><span style="color: rgb(230, 126, 35); text-align: left;" data-mce-style="text-align: left" class="left">Just a random, short, funny video</span></em></h5>
            ',
        ],

        # Images
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/images/system/contactIcons',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_IMAGES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><em class="left" data-mce-style="text-align: left" style="text-align: left;">This folder contains icons for&nbsp;<strong class="left" data-mce-style="text-align: left" style="text-align: left;">Contacts</strong> module - its recommended to hide this folder via&nbsp;<strong class="left" data-mce-style="text-align: left" style="text-align: left;">Lock</strong> mechanism to prevent accidentally removing it content.</em></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/images/',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_IMAGES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><span style="text-align: left;" data-mce-style="text-align: left;" class="left"><span class="left" data-mce-style="text-align: left;" style="text-align: left; color: #e03e2d;"><span class="left" data-mce-style="text-align: left" style="text-align: left;"><span style="color: rgb(0, 0, 0); text-align: left;" data-mce-style="color: #000000; text-align: left;" class="left">This is description of the main folder of </span><span style="text-align: left; color: rgb(22, 145, 121);" data-mce-style="text-align: left; color: #169179;" class="left"><strong class="left" data-mce-style="text-align: left" style="text-align: left;">Images</strong></span>&nbsp;<span style="color: rgb(0, 0, 0); text-align: left;" data-mce-style="color: #000000; text-align: left;" class="left">module</span></span></span></span></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/images/Funny',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_IMAGES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" data-mce-style="text-align: left" style="text-align: left;"><img src="https://i.kym-cdn.com/photos/images/facebook/001/100/963/ab8.jpg" alt="Laughing Risitas | Spanish Laughing Guy / &quot;El Risitas&quot; Interview Parodies |  Know Your Meme" data-mce-src="https://i.kym-cdn.com/photos/images/facebook/001/100/963/ab8.jpg" class="left" data-mce-style="text-align: left" style="text-align: left; display: block; margin-left: auto; margin-right: auto;"></div><div class="left" style="text-align: center;" data-mce-style="text-align: center;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br class="left" data-mce-style="text-align: left" style="text-align: left;">- https://www.kuvaton.com/<br class="left" data-mce-style="text-align: left" style="text-align: left;">- http://wumo.com/wumo<br class="left" data-mce-style="text-align: left" style="text-align: left;"></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/images/Wallpapers/Anime',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_IMAGES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" data-mce-style="text-align: center;" style="text-align: center;"><img src="" class="left" data-mce-style="text-align: left" style="text-align: left;"></div>
            ',
        ],
        [
            self::KEY_RECORD_IDENTIFIER => 'upload/images/Wallpapers/Landscapes',
            self::KEY_MODULE            => ModulesService::MODULE_NAME_IMAGES,
            self::KEY_RECORD_TYPE       => ModuleDataEntity::RECORD_TYPE_DIRECTORY,
            self::KEY_DESCRIPTION       => '
                <div class="left" style="text-align: center;" data-mce-style="text-align: center;"><em class="left" data-mce-style="text-align: left" style="text-align: left;">Relaxing Landscapes views</em></div>
            ',
        ],

    ];

}